package com.wyp168.gulimall.product.feign;

import com.wyp168.common.utils.R;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;

import java.util.List;
import java.util.Map;

/**
 * @ClassName WareFeignService
 * @Title TODO
 * @Description TODO
 * @Author wyp168
 * @Date 2023/8/12 23:05
 */
@FeignClient("gulimall-ware")
public interface WareFeignService {
    @PostMapping("/ware/waresku/getSkuHasStock")
    public R getSkuHasStock(@RequestBody List<Long> skuIds);
}

